//企业管理
const businessApi=(vm)=>{
	return{
		// 查询企业资料列表
		qyEnterpriseList:(data)=>{
			return vm.$u.get('/energy/qyEnterprise/list',data)
		},
		// 查询企业资料详情
		qyEnterprise:(id)=>{
			return vm.$u.get('/energy/qyEnterprise/enterpriseDetail?enterpriseId='+id)
		},
		// 查询缴费记录
		sfReceiptDetailList:(id)=>{
			return vm.$u.get('/life/sfReceiptDetail/list?billId='+id)
		},
		// 查询应收账单列表
		feBillList:(data)=>{
			return vm.$u.get('/life/feBill/list',data)
		},
		// 获取应收账单详细信息
		feBill:(data)=>{
			return vm.$u.get('/life/feBill/'+data)
		},
		addQyEnterprise:(data)=>{
			return vm.$u.post('/energy/qyEnterprise',data)
		},
		//查询公寓退租账单列表
		feApartmentCancelBillList:(data)=>{
			return vm.$u.get('/life/feApartmentCancelBill/list',data)
		},
		feApartmentCancelBillInfo:(id)=>{
			return vm.$u.get(`/life/feApartmentCancelBill/${id}`)
		},
		editApartmentCancelBill:(data)=>{
			return vm.$u.put('/life/feApartmentCancelBill',data)
		},
		// 确认通知企业
		cancelBillNotice:(data)=>{
			return vm.$u.post('/life/feApartmentCancelBill/cancelBillNotice',data)
		},




	}
}


export default businessApi
